import { lazy } from 'react'
const DashBoard = lazy(() => import('@p/DashBoard'))
const CateLists = lazy(() => import('@p/CateLists'))
const ItemLists = lazy(() => import('@p/ItemLists'))
const ItemAdd = lazy(() => import('@p/ItemAdd'))
const ItemUpdate = lazy(() => import('@p/ItemUpdate'))
const UserInfo = lazy(() => import('@p/UserInfo'))
const Settings = lazy(() => import('@p/Settings'))
export default [
  {
    path: '/dashBoard',
    element: DashBoard
  },
  {
    path: '/cateLists',
    element: CateLists
  },
  {
    path: '/itemLists',
    element: ItemLists
  },
  {
    path: '/itemAdd',
    element: ItemAdd
  },
  {
    path: '/itemUpdate',
    element: ItemUpdate
  },
  {
    path: '/userInfo',
    element: UserInfo
  },
  {
    path: '/settings',
    element: Settings
  }
]